﻿using System;

namespace Kugar.Tool.RemoteEventBus.Subscibers
{
    public interface IAsyncEventSubsciber
    {
        IRemoteEventBus EventBus { get; }
        string EventName { get; }

        event EventHandler<AsyncEventRaisedEventArgs> EventRaised;

        event EventHandler<AsyncEventRaisingEventArgs> EventRaising;
    }
}